package com.sevattal.service.leaves.mapper;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.sevattal.service.leaves.entity.Emp;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.sevattal.service.leaves.entity.vo.EmpVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 * 员工表 Mapper 接口
 * </p>
 *
 * @author Sevattal
 * @since 2021-08-28
 */
@Mapper
@Repository
public interface EmpMapper extends BaseMapper<Emp> {

    public List<EmpVo> getEmpList(@Param(Constants.WRAPPER)QueryWrapper<EmpVo> queryWrapper);

    public EmpVo getByEmpId(String id);


}
